<!--#include file="lib/utf-8.asp"-->
<!--#include file="lib/conn.asp"-->
<%
'Response.ContentType = "application/json"
id=request("id")
ys=request("ys")
yf=request("yf")
bz=request("bz")
if ys="true" then sql="update yb set js=true where id in ("&id&")"
if ys="false" then sql="update yb set js=false where id in ("&id&")"
if yf="true" then sql="update yb set yf=true where id in ("&id&")"
if yf="false" then sql="update yb set yf=false where id in ("&id&")"
if bz="true" then sql="update yb set baozhang=true where id in ("&id&")"
if bz="false" then sql="update yb set baozhang=false where id in ("&id&")"
'response.write(sql)
'response.end
set cmd=Server.CreateObject("ADODB.Command")
cmd.ActiveConnection=conn
cmd.CommandText = sql
cmd.Execute
set cmd=nothing
conn.close
set conn=nothing
%>
